<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<title>解除绑定</title>
		<link rel="stylesheet" type="text/css" href="css/public.css"/>
	</head>
	<style type="text/css">
		body{background: #fff;}
		.container{font-size: 0.3rem;}
		.container p{margin-left: 0.35rem;}
		.tis{margin-top: 1rem;}
		.container i{font-size: 3rem;color: #1d9035;margin-top: 1.73rem;margin-left: 1.8rem;}
		.confirm{height: 0.88rem;width: 6.6rem;margin: 1.2rem auto;font-size: 0.3rem;background: #1d9035;border-radius: 5px;color: #fff;cursor: pointer;}
	</style>
	<body>
		<div class="container">
			<p class="tis">温馨提示：</p>
			<p style="font-size: 0.26rem;margin-top: 0.1rem;margin-bottom: 1.5rem;">解除绑定后您无法使用公众号相关功能,APP仍可使用~</p>
			<i class="icon iconfont icon-jiechuweixinbangding"></i>
			<div class="confirm flex flex-align-center flex-pack-center"><p style="margin-left: 0;">解除绑定</p></div>
		</div>
	</body>
	<script type="text/javascript" src="js/rem.js"></script>
	<script type="text/javascript" src="js/zepto.js"></script>
	<script type="text/javascript" src="js/template.js"></script>
	<script type="text/javascript" src="js/api.js"></script>
	<script type="text/javascript" src="js/common.js"></script>
	<script type="text/javascript" src="js/layer.js"></script>
	<script type="text/javascript">
		Public.login();
		$('.confirm').click(function(){
			Public.unbind({
				openId: localStorage.openid,
				clientType: 'WX'
			},function(res){
				layer.open({
				    content: '解除微信绑定成功！是否下载app'
				    ,btn: ['去下载', '不要']
				    ,yes: function(index){
				      Util.jump('http://www.uniao.me/share/downLoadPage.htm');
				      layer.close(index);
				    }
				  });
			})
		});
	</script>
</html>
